.class public Lrexsee/multimedia/MediaCaptureArguments;
.super Ljava/lang/Object;
.source "MediaCaptureArguments.java"


# instance fields
.field public argumentsText:Ljava/lang/String;

.field public audioBitRate:I

.field public audioChannels:I

.field public audioEncoder:I

.field public audioSamplingRate:I

.field public audioSource:I

.field public defaultProfile:Ljava/lang/String;

.field public format:I

.field public maxDuration:I

.field public maxFileSize:I

.field public videoBitRate:I

.field public videoEncoder:I

.field public videoFrameHeight:I

.field public videoFrameRate:I

.field public videoFrameWidth:I

.field public videoOrientationHint:I

.field public videoSource:I


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 40
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 18
    const-string v0, ""

    iput-object v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->argumentsText:Ljava/lang/String;

    .line 20
    const-string v0, "none"

    iput-object v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->defaultProfile:Ljava/lang/String;

    .line 41
    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lrexsee/multimedia/MediaCaptureArguments;->setDefault(Z)V

    .line 42
    return-void
.end method

.method private setDefault(Z)V
    .locals 5
    .param p1, "highQuality"    # Z

    .prologue
    const/4 v4, -0x1

    const/4 v3, 0x3

    const/4 v2, 0x2

    const/4 v1, 0x1

    .line 215
    if-eqz p1, :cond_0

    const-string v0, "highQuality"

    :goto_0
    iput-object v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->defaultProfile:Ljava/lang/String;

    .line 217
    iput v1, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoSource:I

    .line 218
    iput v1, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSource:I

    .line 219
    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->maxDuration:I

    .line 220
    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->maxFileSize:I

    .line 236
    if-eqz p1, :cond_1

    .line 237
    iput v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->format:I

    .line 238
    iput v3, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioEncoder:I

    .line 239
    const v0, 0x17700

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioBitRate:I

    .line 240
    iput v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioChannels:I

    .line 241
    const v0, 0xac44

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSamplingRate:I

    .line 242
    iput v3, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoEncoder:I

    .line 243
    const v0, 0x989680

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoBitRate:I

    .line 244
    const/16 v0, 0x1e

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameRate:I

    .line 245
    const/16 v0, 0x500

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameWidth:I

    .line 246
    const/16 v0, 0x2d0

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameHeight:I

    .line 260
    :goto_1
    const/4 v0, 0x0

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoOrientationHint:I

    .line 262
    return-void

    .line 215
    :cond_0
    const-string v0, "lowQuality"

    goto :goto_0

    .line 248
    :cond_1
    iput v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->format:I

    .line 249
    iput v1, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioEncoder:I

    .line 250
    const/16 v0, 0x2fa8

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioBitRate:I

    .line 251
    iput v1, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioChannels:I

    .line 252
    const/16 v0, 0x1f40

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSamplingRate:I

    .line 253
    iput v3, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoEncoder:I

    .line 254
    const v0, 0x30d40

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoBitRate:I

    .line 255
    const/16 v0, 0xf

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameRate:I

    .line 256
    const/16 v0, 0x140

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameWidth:I

    .line 257
    const/16 v0, 0xf0

    iput v0, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameHeight:I

    goto :goto_1
.end method


# virtual methods
.method public getRecorder(Landroid/hardware/Camera;Landroid/view/SurfaceHolder;Landroid/media/MediaRecorder$OnErrorListener;Landroid/media/MediaRecorder$OnInfoListener;)Landroid/media/MediaRecorder;
    .locals 5
    .param p1, "camera"    # Landroid/hardware/Camera;
    .param p2, "surfaceHolder"    # Landroid/view/SurfaceHolder;
    .param p3, "errorListener"    # Landroid/media/MediaRecorder$OnErrorListener;
    .param p4, "infoListener"    # Landroid/media/MediaRecorder$OnInfoListener;

    .prologue
    const-class v2, Landroid/media/MediaRecorder;

    .line 266
    new-instance v1, Landroid/media/MediaRecorder;

    invoke-direct {v1}, Landroid/media/MediaRecorder;-><init>()V

    .line 268
    .local v1, "recorder":Landroid/media/MediaRecorder;
    invoke-virtual {v1, p3}, Landroid/media/MediaRecorder;->setOnErrorListener(Landroid/media/MediaRecorder$OnErrorListener;)V

    .line 269
    invoke-virtual {v1, p4}, Landroid/media/MediaRecorder;->setOnInfoListener(Landroid/media/MediaRecorder$OnInfoListener;)V

    .line 271
    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->maxDuration:I

    if-lez v2, :cond_0

    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->maxDuration:I

    invoke-virtual {v1, v2}, Landroid/media/MediaRecorder;->setMaxDuration(I)V

    .line 272
    :cond_0
    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->maxFileSize:I

    if-lez v2, :cond_1

    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->maxFileSize:I

    int-to-long v2, v2

    invoke-virtual {v1, v2, v3}, Landroid/media/MediaRecorder;->setMaxFileSize(J)V

    .line 274
    :cond_1
    if-eqz p2, :cond_3

    .line 275
    if-eqz p1, :cond_2

    .line 276
    invoke-virtual {p1}, Landroid/hardware/Camera;->unlock()V

    .line 277
    invoke-virtual {v1, p1}, Landroid/media/MediaRecorder;->setCamera(Landroid/hardware/Camera;)V

    .line 279
    :cond_2
    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoSource:I

    invoke-virtual {v1, v2}, Landroid/media/MediaRecorder;->setVideoSource(I)V

    .line 281
    :cond_3
    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSource:I

    invoke-virtual {v1, v2}, Landroid/media/MediaRecorder;->setAudioSource(I)V

    .line 283
    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->format:I

    invoke-virtual {v1, v2}, Landroid/media/MediaRecorder;->setOutputFormat(I)V

    .line 285
    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioEncoder:I

    invoke-virtual {v1, v2}, Landroid/media/MediaRecorder;->setAudioEncoder(I)V

    .line 291
    :try_start_0
    const-class v2, Landroid/media/MediaRecorder;

    const-string v3, "setAudioChannels"

    invoke-static {v2, v3}, Lrexsee/core/utilities/RexseeClazz;->getMethod(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;

    move-result-object v0

    .line 292
    .local v0, "method":Ljava/lang/reflect/Method;
    if-eqz v0, :cond_4

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioChannels:I

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-virtual {v0, v1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    .line 295
    :cond_4
    const-class v2, Landroid/media/MediaRecorder;

    const-string v3, "setAudioEncodingBitRate"

    invoke-static {v2, v3}, Lrexsee/core/utilities/RexseeClazz;->getMethod(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;

    move-result-object v0

    .line 296
    if-eqz v0, :cond_5

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioBitRate:I

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-virtual {v0, v1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    .line 299
    :cond_5
    const-class v2, Landroid/media/MediaRecorder;

    const-string v3, "setAudioSamplingRate"

    invoke-static {v2, v3}, Lrexsee/core/utilities/RexseeClazz;->getMethod(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;

    move-result-object v0

    .line 300
    if-eqz v0, :cond_6

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSamplingRate:I

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-virtual {v0, v1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    .line 304
    .end local v0    # "method":Ljava/lang/reflect/Method;
    :cond_6
    :goto_0
    if-eqz p2, :cond_9

    .line 306
    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoEncoder:I

    invoke-virtual {v1, v2}, Landroid/media/MediaRecorder;->setVideoEncoder(I)V

    .line 309
    :try_start_1
    const-class v2, Landroid/media/MediaRecorder;

    const-string v3, "setVideoEncodingBitRate"

    invoke-static {v2, v3}, Lrexsee/core/utilities/RexseeClazz;->getMethod(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;

    move-result-object v0

    .line 310
    .restart local v0    # "method":Ljava/lang/reflect/Method;
    if-eqz v0, :cond_7

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoBitRate:I

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-virtual {v0, v1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    .line 314
    .end local v0    # "method":Ljava/lang/reflect/Method;
    :cond_7
    :goto_1
    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameRate:I

    if-lez v2, :cond_8

    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameRate:I

    invoke-virtual {v1, v2}, Landroid/media/MediaRecorder;->setVideoFrameRate(I)V

    .line 315
    :cond_8
    iget v2, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameWidth:I

    iget v3, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameHeight:I

    invoke-virtual {v1, v2, v3}, Landroid/media/MediaRecorder;->setVideoSize(II)V

    .line 317
    invoke-interface {p2}, Landroid/view/SurfaceHolder;->getSurface()Landroid/view/Surface;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/media/MediaRecorder;->setPreviewDisplay(Landroid/view/Surface;)V

    .line 320
    :cond_9
    return-object v1

    .line 311
    :catch_0
    move-exception v2

    goto :goto_1

    .line 301
    :catch_1
    move-exception v2

    goto :goto_0
.end method

.method public parseArguments(Ljava/lang/String;)Lrexsee/multimedia/MediaCaptureArguments;
    .locals 12
    .param p1, "arguments"    # Ljava/lang/String;

    .prologue
    const/4 v11, 0x3

    const/4 v10, 0x2

    const/4 v9, -0x1

    const/4 v8, 0x1

    const/4 v7, 0x0

    .line 144
    if-eqz p1, :cond_0

    const-string v4, ""

    invoke-virtual {p1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 211
    :cond_0
    :goto_0
    return-object p0

    .line 145
    :cond_1
    iput-object p1, p0, Lrexsee/multimedia/MediaCaptureArguments;->argumentsText:Ljava/lang/String;

    .line 146
    const-string v4, ";"

    invoke-virtual {p1, v4}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    .line 147
    .local v0, "argus":[Ljava/lang/String;
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_1
    array-length v4, v0

    if-lt v1, v4, :cond_2

    .line 210
    const-string v4, "none"

    iput-object v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->defaultProfile:Ljava/lang/String;

    goto :goto_0

    .line 148
    :cond_2
    aget-object v4, v0, v1

    const-string v5, "="

    invoke-virtual {v4, v5}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v4

    if-gtz v4, :cond_4

    .line 147
    :cond_3
    :goto_2
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 149
    :cond_4
    aget-object v4, v0, v1

    aget-object v5, v0, v1

    const-string v6, "="

    invoke-virtual {v5, v6}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v5

    invoke-virtual {v4, v7, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    .line 150
    .local v2, "key":Ljava/lang/String;
    aget-object v4, v0, v1

    aget-object v5, v0, v1

    const-string v6, "="

    invoke-virtual {v5, v6}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v5

    add-int/lit8 v5, v5, 0x1

    invoke-virtual {v4, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    .line 151
    .local v3, "value":Ljava/lang/String;
    const-string v4, "defaultProfile"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_6

    .line 152
    const-string v4, "highQuality"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_5

    .line 153
    invoke-direct {p0, v8}, Lrexsee/multimedia/MediaCaptureArguments;->setDefault(Z)V

    goto :goto_0

    .line 155
    :cond_5
    const-string v4, "lowQuality"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_3

    .line 156
    invoke-direct {p0, v7}, Lrexsee/multimedia/MediaCaptureArguments;->setDefault(Z)V

    goto :goto_0

    .line 159
    :cond_6
    const-string v4, "format"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_8

    .line 160
    const-string v4, "MPEG_4"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_7

    move v4, v10

    :goto_3
    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->format:I

    goto :goto_2

    :cond_7
    move v4, v8

    goto :goto_3

    .line 161
    :cond_8
    const-string v4, "maxDuration"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_9

    .line 162
    invoke-static {v3, v9}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->maxDuration:I

    goto :goto_2

    .line 163
    :cond_9
    const-string v4, "maxFileSize"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_a

    .line 164
    invoke-static {v3, v9}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->maxFileSize:I

    goto :goto_2

    .line 165
    :cond_a
    const-string v4, "audioSource"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_11

    .line 166
    const-string v4, "CAMCORDER"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_b

    const/4 v4, 0x5

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSource:I

    goto/16 :goto_2

    .line 167
    :cond_b
    const-string v4, "MIC"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_c

    iput v8, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSource:I

    goto/16 :goto_2

    .line 168
    :cond_c
    const-string v4, "VOICE_CALL"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_d

    const/4 v4, 0x4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSource:I

    goto/16 :goto_2

    .line 169
    :cond_d
    const-string v4, "VOICE_DOWNLINK"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_e

    iput v11, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSource:I

    goto/16 :goto_2

    .line 170
    :cond_e
    const-string v4, "VOICE_UPLINK"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_f

    iput v10, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSource:I

    goto/16 :goto_2

    .line 171
    :cond_f
    const-string v4, "VOICE_RECOGNITION"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_10

    const/4 v4, 0x6

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSource:I

    goto/16 :goto_2

    .line 172
    :cond_10
    iput v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSource:I

    goto/16 :goto_2

    .line 173
    :cond_11
    const-string v4, "audioEncoder"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_17

    .line 174
    const-string v4, "AMR_NB"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_12

    iput v8, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioEncoder:I

    goto/16 :goto_2

    .line 175
    :cond_12
    const-string v4, "AMR_WB"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_13

    iput v10, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioEncoder:I

    goto/16 :goto_2

    .line 176
    :cond_13
    const-string v4, "AAC"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_14

    iput v11, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioEncoder:I

    goto/16 :goto_2

    .line 177
    :cond_14
    const-string v4, "AAC_PLUS"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_15

    const/4 v4, 0x4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioEncoder:I

    goto/16 :goto_2

    .line 178
    :cond_15
    const-string v4, "EAAC_PLUS"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_16

    const/4 v4, 0x5

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioEncoder:I

    goto/16 :goto_2

    .line 179
    :cond_16
    iput v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioEncoder:I

    goto/16 :goto_2

    .line 180
    :cond_17
    const-string v4, "audioChannels"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_18

    .line 181
    invoke-static {v3, v8}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioChannels:I

    goto/16 :goto_2

    .line 182
    :cond_18
    const-string v4, "audioBitRate"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_19

    .line 183
    invoke-static {v3, v9}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioBitRate:I

    goto/16 :goto_2

    .line 184
    :cond_19
    const-string v4, "audioSamplingRate"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1a

    .line 185
    invoke-static {v3, v9}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSamplingRate:I

    goto/16 :goto_2

    .line 186
    :cond_1a
    const-string v4, "videoSource"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1c

    .line 187
    const-string v4, "CAMERA"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1b

    iput v8, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoSource:I

    goto/16 :goto_2

    .line 188
    :cond_1b
    iput v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoSource:I

    goto/16 :goto_2

    .line 189
    :cond_1c
    const-string v4, "videoEncoder"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_20

    .line 190
    const-string v4, "H263"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1d

    iput v8, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoEncoder:I

    goto/16 :goto_2

    .line 191
    :cond_1d
    const-string v4, "H264"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1e

    iput v10, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoEncoder:I

    goto/16 :goto_2

    .line 192
    :cond_1e
    const-string v4, "MPEG_4_SP"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1f

    iput v11, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoEncoder:I

    goto/16 :goto_2

    .line 193
    :cond_1f
    iput v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoEncoder:I

    goto/16 :goto_2

    .line 194
    :cond_20
    const-string v4, "videoBitRate"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_21

    .line 195
    invoke-static {v3, v9}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoBitRate:I

    goto/16 :goto_2

    .line 196
    :cond_21
    const-string v4, "videoFrameRate"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_22

    .line 197
    invoke-static {v3, v9}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameRate:I

    goto/16 :goto_2

    .line 198
    :cond_22
    const-string v4, "videoFrameWidth"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_23

    .line 199
    const/16 v4, 0x140

    invoke-static {v3, v4}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameWidth:I

    goto/16 :goto_2

    .line 200
    :cond_23
    const-string v4, "videoFrameHeight"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_24

    .line 201
    const/16 v4, 0xf0

    invoke-static {v3, v4}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameHeight:I

    goto/16 :goto_2

    .line 202
    :cond_24
    const-string v4, "videoOrientationHint"

    invoke-virtual {v2, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_3

    .line 203
    const-string v4, "90"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_25

    const/16 v4, 0x5a

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoOrientationHint:I

    goto/16 :goto_2

    .line 204
    :cond_25
    const-string v4, "180"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_26

    const/16 v4, 0xb4

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoOrientationHint:I

    goto/16 :goto_2

    .line 205
    :cond_26
    const-string v4, "270"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_27

    const/16 v4, 0x10e

    iput v4, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoOrientationHint:I

    goto/16 :goto_2

    .line 206
    :cond_27
    iput v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoOrientationHint:I

    goto/16 :goto_2
.end method

.method public toString(Z)Ljava/lang/String;
    .locals 9
    .param p1, "isVideo"    # Z

    .prologue
    const-string v8, "\""

    .line 46
    iget v6, p0, Lrexsee/multimedia/MediaCaptureArguments;->format:I

    const/4 v7, 0x2

    if-ne v6, v7, :cond_1

    const-string v6, "MPEG_4"

    move-object v2, v6

    .line 48
    .local v2, "formatString":Ljava/lang/String;
    :goto_0
    iget v6, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSource:I

    packed-switch v6, :pswitch_data_0

    .line 68
    const-string v1, "DEFAULT"

    .line 72
    .local v1, "audioSourceString":Ljava/lang/String;
    :goto_1
    iget v6, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoSource:I

    packed-switch v6, :pswitch_data_1

    .line 77
    const-string v5, "DEFAULT"

    .line 81
    .local v5, "videoSourceString":Ljava/lang/String;
    :goto_2
    iget v6, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioEncoder:I

    packed-switch v6, :pswitch_data_2

    .line 98
    const-string v0, "DEFAULT"

    .line 102
    .local v0, "audioEncoderString":Ljava/lang/String;
    :goto_3
    iget v6, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoEncoder:I

    packed-switch v6, :pswitch_data_3

    .line 113
    const-string v4, "DEFAULT"

    .line 117
    .local v4, "videoEncoderString":Ljava/lang/String;
    :goto_4
    const-string v3, ""

    .line 119
    .local v3, "rtn":Ljava/lang/String;
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, "\"defaultProfile\":\""

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget-object v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->defaultProfile:Ljava/lang/String;

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "\""

    invoke-virtual {v6, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 120
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"format\":\""

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "\""

    invoke-virtual {v6, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 121
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"maxDuration\":"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->maxDuration:I

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 122
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"maxFileSize\":"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->maxFileSize:I

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 124
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"audioSource\":\""

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "\""

    invoke-virtual {v6, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 125
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"audioEncoder\":\""

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "\""

    invoke-virtual {v6, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 126
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"audioBitRate\":"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioBitRate:I

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 127
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"audioChannels\":"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioChannels:I

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 128
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"audioSamplingRate\":"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->audioSamplingRate:I

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 130
    if-eqz p1, :cond_0

    .line 131
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"videoSource\":\""

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "\""

    invoke-virtual {v6, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 132
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"videoEncoder\":\""

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "\""

    invoke-virtual {v6, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 133
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"videoBitRate\":"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoBitRate:I

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 134
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"videoFrameRate\":"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameRate:I

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 135
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"videoFrameWidth\":"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameWidth:I

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 136
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"videoFrameHeight\":"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoFrameHeight:I

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 137
    new-instance v6, Ljava/lang/StringBuilder;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, ",\"videoOrientationHint\":"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget v7, p0, Lrexsee/multimedia/MediaCaptureArguments;->videoOrientationHint:I

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 140
    :cond_0
    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "{"

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v6, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "}"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    return-object v6

    .line 46
    .end local v0    # "audioEncoderString":Ljava/lang/String;
    .end local v1    # "audioSourceString":Ljava/lang/String;
    .end local v2    # "formatString":Ljava/lang/String;
    .end local v3    # "rtn":Ljava/lang/String;
    .end local v4    # "videoEncoderString":Ljava/lang/String;
    .end local v5    # "videoSourceString":Ljava/lang/String;
    :cond_1
    const-string v6, "THREE_GPP"

    move-object v2, v6

    goto/16 :goto_0

    .line 50
    .restart local v2    # "formatString":Ljava/lang/String;
    :pswitch_0
    const-string v1, "CAMCORDER"

    .line 51
    .restart local v1    # "audioSourceString":Ljava/lang/String;
    goto/16 :goto_1

    .line 53
    .end local v1    # "audioSourceString":Ljava/lang/String;
    :pswitch_1
    const-string v1, "MIC"

    .line 54
    .restart local v1    # "audioSourceString":Ljava/lang/String;
    goto/16 :goto_1

    .line 56
    .end local v1    # "audioSourceString":Ljava/lang/String;
    :pswitch_2
    const-string v1, "VOICE_CALL"

    .line 57
    .restart local v1    # "audioSourceString":Ljava/lang/String;
    goto/16 :goto_1

    .line 59
    .end local v1    # "audioSourceString":Ljava/lang/String;
    :pswitch_3
    const-string v1, "VOICE_DOWNLINK"

    .line 60
    .restart local v1    # "audioSourceString":Ljava/lang/String;
    goto/16 :goto_1

    .line 62
    .end local v1    # "audioSourceString":Ljava/lang/String;
    :pswitch_4
    const-string v1, "VOICE_UPLINK"

    .line 63
    .restart local v1    # "audioSourceString":Ljava/lang/String;
    goto/16 :goto_1

    .line 65
    .end local v1    # "audioSourceString":Ljava/lang/String;
    :pswitch_5
    const-string v1, "VOICE_RECOGNITION"

    .line 66
    .restart local v1    # "audioSourceString":Ljava/lang/String;
    goto/16 :goto_1

    .line 74
    :pswitch_6
    const-string v5, "CAMERA"

    .line 75
    .restart local v5    # "videoSourceString":Ljava/lang/String;
    goto/16 :goto_2

    .line 83
    :pswitch_7
    const-string v0, "AMR_NB"

    .line 84
    .restart local v0    # "audioEncoderString":Ljava/lang/String;
    goto/16 :goto_3

    .line 86
    .end local v0    # "audioEncoderString":Ljava/lang/String;
    :pswitch_8
    const-string v0, "AMR_WB"

    .line 87
    .restart local v0    # "audioEncoderString":Ljava/lang/String;
    goto/16 :goto_3

    .line 89
    .end local v0    # "audioEncoderString":Ljava/lang/String;
    :pswitch_9
    const-string v0, "AAC"

    .line 90
    .restart local v0    # "audioEncoderString":Ljava/lang/String;
    goto/16 :goto_3

    .line 92
    .end local v0    # "audioEncoderString":Ljava/lang/String;
    :pswitch_a
    const-string v0, "AAC_PLUS"

    .line 93
    .restart local v0    # "audioEncoderString":Ljava/lang/String;
    goto/16 :goto_3

    .line 95
    .end local v0    # "audioEncoderString":Ljava/lang/String;
    :pswitch_b
    const-string v0, "EAAC_PLUS"

    .line 96
    .restart local v0    # "audioEncoderString":Ljava/lang/String;
    goto/16 :goto_3

    .line 104
    :pswitch_c
    const-string v4, "H263"

    .line 105
    .restart local v4    # "videoEncoderString":Ljava/lang/String;
    goto/16 :goto_4

    .line 107
    .end local v4    # "videoEncoderString":Ljava/lang/String;
    :pswitch_d
    const-string v4, "H264"

    .line 108
    .restart local v4    # "videoEncoderString":Ljava/lang/String;
    goto/16 :goto_4

    .line 110
    .end local v4    # "videoEncoderString":Ljava/lang/String;
    :pswitch_e
    const-string v4, "MPEG_4_SP"

    .line 111
    .restart local v4    # "videoEncoderString":Ljava/lang/String;
    goto/16 :goto_4

    .line 48
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_0
        :pswitch_5
    .end packed-switch

    .line 72
    :pswitch_data_1
    .packed-switch 0x1
        :pswitch_6
    .end packed-switch

    .line 81
    :pswitch_data_2
    .packed-switch 0x1
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
        :pswitch_b
    .end packed-switch

    .line 102
    :pswitch_data_3
    .packed-switch 0x1
        :pswitch_c
        :pswitch_d
        :pswitch_e
    .end packed-switch
.end method
